package com.liaozhai.community.service;

public interface FollowService {

    public void follow(int userId, int entityType, int entityId);

    public void unfollow(int userId, int entityType, int entityId);

    public long findFollowerCount(int entityType, int entityId);

    public boolean hasFollowed(int userId, int entityType, int entityId);

    long findFolloweeCount(int userId, int entityTypeUser);
}
